﻿using System.Collections.Generic;
using Fee.Orders;
using Fee.Searchers;

namespace Fee.Stores
{
    public interface IOrderStore<T, out TOrder> where T : FeeDbContext
        where TOrder : DelegateOrderBase
    {
        IEnumerable<TOrder> List(DelegateOrderSearch searcher, out int total);
        TOrder GetById(int id);
    }
}